package com.haois.component.constant;


/**
 * description
 *
 * @author RuiHaoZ on GCU
 * @date 2017/3/17 9:18
 */
public class StatusCode {

    public static final String SHARE_NUM = "share@haois.me";

    //0未未处理，1同意，2为拒绝
    public static final Integer NO_HANDLE = 0;
    public static final Integer AGREE = 1;
    public static final Integer REFUSE = 2;


    public static final String JWT_NULL = "JWT不存在";
    public static final String JWT_OVER_TTL = "超过有效期";
    public static final String JWT_OVER_ILLEGAL = "非法JWT";
    public static final String JWT_LEGAL = "合法";

    public static final String COOKIE_JWT_WEB = "web-jwt";
    public static final String COOKIE_JWT_APP = "app-jwt";
    public static final String COOKIE_JWT_CHAT = "chat-jwt";

    public static final long ONE_HOUR = 1000 * 60 * 60;
    public static final long JWT_WEB_TTL = ONE_HOUR * 1;//一小时
    public static final long JWT_APP_TTL = ONE_HOUR * 24 * 30; //一个月
    public static final long JWT_CHAT_TTL = ONE_HOUR * 24 * 30 * 6; //6个月;
    public static final String JWT_ID = "Jwt";//jwt的id
    public static final String JWT_SECRET = "GCU";//token密钥一部分
    public static final String JWT_ISSUER = "MobileGroup";


    public static final String SUBJECT_KEY_NUM = "memberNum";
    public static final String SUBJECT_KEY_ID = "id";

    public static final String[] ORGANIZE_HEAD = new String[]{"编号", "职称"};

    public static final String[] REGISTER_HEAD = new String[]{"编号", "姓名", "电话", "个人介绍", "地址"};

    public static final String[] LEAGUER_HEAD = new String[]{"编号", "姓名", "电话", "个人介绍", "地址"};

    public static final String[] MEMBER_HEAD = new String[]
            {"编号", "姓名", "用户状态", "部门", "职称", "手机", "电话", "微信", "邮箱", "地址", "生日", "个人介绍", "绑定微信", "绑定小程序", "加入时间"};


    public static final boolean EXCEL_YUN = false;


}
